package com.hw.one.collect.ionsoup.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hw.one.collect.entity.CommonData;
import com.hw.one.collect.entity.DataTypeEnum;
import com.hw.one.collect.ionsoup.constants.IonSoupType;

import java.util.List;

/**
 * @Class Results
 * @Author guoshenzhen
 * @Date 2018/3/5  9:51
 */
public class Results<T>{

    private IonSoupType type;

    public Results(IonSoupType type) {
        this.type = type;
    }

    private List<T> liquidCycleList;

    @JsonProperty("cycles")
    public List<T> getLiquidCycleList() {
        return liquidCycleList;
    }

    public void setLiquidCycleList(List<T> liquidCycleList) {
        this.liquidCycleList = liquidCycleList;
    }

    @JsonIgnore
    public IonSoupType getType() {
        return type;
    }

    public void setType(IonSoupType type) {
        this.type = type;
    }

}
